package com.oop.example.data;

/**
 *
 * @author -
 */
public class EntryPOJO {

    private int ID;
    private String content;
    private String xml;
    private int status;
    private int version;
    private String comment;
    private String entryType;

    public String getEntryType() {
        return entryType;
    }

    public void setEntryType(String entryType) {
        this.entryType = entryType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getXml() {
        return xml;
    }

    public void setXml(String xml) {
        this.xml = xml;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    private String extract() {
        String data = "";
        if (content != null) {
            System.out.println("content=" + content);
        } else {
            throw new IllegalStateException();
        }
        return data;
    }
}
